From: Florian Müllner Date: Thu, 23 Jun 2011 22:20:43 +0000 (+0200) Subject: telepathy-client: Adjust to gjs array changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8157 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e5fadb3b42f031194a773259fb84203daaf001c9;p=gnome-shell.git telepathy-client: Adjust to gjs array changes Since bug 646632 was fixed, array lengths are no longer passed as separate parameters. Adjust to that change. --- diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index ba6113d8f..5893c583c 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -103,7 +103,7 @@ Client.prototype = { this._finishObserveChannels(account, conn, channels, context); } else { Shell.get_self_contact_features(conn, - contactFeatures.length, contactFeatures, + contactFeatures, Lang.bind(this, function() { this._finishObserveChannels(account, conn, channels, context); })); @@ -123,8 +123,8 @@ Client.prototype = { continue; /* Request a TpContact */ - Shell.get_tp_contacts(conn, 1, [targetHandle], - contactFeatures.length, contactFeatures, + Shell.get_tp_contacts(conn, [targetHandle], + contactFeatures, Lang.bind(this, function (connection, contacts, failed) { if (contacts.length < 1) return;